Can you access custom modules from the api?

Can you access custom modules from the api?

I want to create a custom module and be able to use the apis for it. Is this possible?