Do not use a company machine for personal projects. Anything that touches a company machine will inevitably belong to the company.
Just get a beat up old Thinkpad for like $20 (or for free, if you’re friends with the company IT folks and they’re discarding old stock) and install something like Linux Mint to get it up and running.
Don’t even use company-owned software licenses. For instance, if you want to make a game, don’t use your company’s Unreal Engine license to do it. Use a personal license (or something free, like Godot) instead.