A close friend of mine tinkers on games and hes had a lot of success with qwen uncensored running on his 5090. It isn't fool proof though, you need to know what you are doing (coding wise) because AI sometimes goes off track and starts hallucinating and adding unecessary code.
Running an uncensored model locally is probably the best approach, provided you happen to have a $5,000 graphics card lying around.