Is it possible to run the rasa core and actions servers on the same port?

I was trying to reduce the number of services running at the same time. Hence, I was wondering if it was possible to run the custom action server and the core server simultaneously (using the same port).