I tried doing this, Both entry point files of my modules are registering a page type. If I use only one entry point file, everything works fine. If I use multiple entry points to register multiple page types, I get an error (404, URL not found).
There's a reason why I want to use separate modules to register multiple page types.