I mean, this just simply isn't true. WordPress has support for custom post types, custom taxonomies, and much more. It's an extremely capable system for pretty complex websites with pretty complex data shapes.
Posts and post types and all that is not a great concept to use for everything. Having to shoehorn an ERM into post types is an absurd practice.
If you look at basically any plugin, you will see this shoehorning and overcomplicating. You. Just. Want. A. Table/Relation. in a database, not some "custom post type". It's silly. A proper escape hatch would be to simply connect ones own Postgres database (is postgres even properly supported by now? Or is that still not fixed?) and create your own relations and use those from the WP side just as easily as posts and post types.
There you go already ... custom POST types.
Posts and post types and all that is not a great concept to use for everything. Having to shoehorn an ERM into post types is an absurd practice.
If you look at basically any plugin, you will see this shoehorning and overcomplicating. You. Just. Want. A. Table/Relation. in a database, not some "custom post type". It's silly. A proper escape hatch would be to simply connect ones own Postgres database (is postgres even properly supported by now? Or is that still not fixed?) and create your own relations and use those from the WP side just as easily as posts and post types.