Nope. You can only tell the OS "this program can run only in core x" to set things like rendering use all except one core or programs not running on HT cores, but you can't tell the OS "only this program can run in core x". There's small but important difference.
Because you're never guaranteed no other program besides the game is using those cores they will get out of sync almost immediately and every second. That's the whole point of multitasking that the cores get shared by several hundred background tasks as seen fit by the OS.