Definitely, you can. Most apps are using mixed programming languages. In your situation, you can use Python to provide restful Apis at the backend , then swift or js calls these apis at the frontend. Actually, this is a common way people building their web apps and mobile apps.14 Mar 2016
Read moreWhich app uses Python as backend?
Spotify . Spotify is one of the most renowned Python app examples that is used for examining data and backend development. This music streaming and media services provider has 286 million monthly users, including around 130 million paying subscribers, as of April 2020.
Read moreHow do you make a backend in Python?
Specific Python prerequisites and set up
Read moreCan you write a backend in Python?
Python is a full-stack language. It is used in backend development while its frameworks are used in frontend development.
Read more