Yes definitely . You can use any server technology that you need to serve as the backend for an Android app! Python is apparently best done with Django, a popular web framework for python.
Read moreHow use Django app as backend in Android?
You can use APIs to send data from android app to Django server. Android lib https://square.github.io/retrofit/ to connect to server.
Read more