I have CS6 installed on Win 10 but I hardly use it at all. It is NOT supported, though.
Additionally, upgrading from Windows 7 can be kind of troublesome though I found the upgrade from 8.1 to be unexpectedly painless. No matter what you’re upgrading from be prepared to do a clean install in case something goes south.
Update from what version of Windows?
I run Win 7 very happily -- no problems with any version of ID newer than CS2. You might have some trouble with CS6 on Windows 10, or you might not, but there is no official support for that combination, so I wouldn't rush into an OS upgrade unless you have other reasons for wishing to do so.