Yes for some things ChatGPT is really good, it wont program it for you but it can generate excellent snippets of code you can use to let you concentrate on your own problem. Problem is you never know where they stem from!