c ++ – Online game with text

I want to create a text game online, mainly in the form of application and from my research,

Html and Css has been listed for display / game user interface.

PHP for page generation and input processing.

C ++ for the game engine and notifications

And MySQL for the database.

I was wondering if, besides Html and Css, can I do all that with a language like the Python program (for back-end development)