Coding with Python using the latest Unity version

Is it possible to code with Python while I have Unity 2023.1 and Python3?

I think yes, you can!
https://docs.unity3d.com/Packages/com.unity.scripting.python@7.0/manual/installation.html