Sounds kinda like ECS, not exactly OOP but that debate is for software engineers and architects.
As long as it’s componentalized so that you can modularize it and drag and drop it wherever server or client or even shared between, that’s what matters for code organization.