Yes, you can use AI as assistant to your own coding. But the majority of the code must be made by you. You can not use AI to do all the coding.