This approach is well known and this idea is the base of the architectural pattern
]) called "naked objects".
I would advise you to learn this pattern and related architectural patterns while trying to design your Web application:
In the article referenced above, you will find a number of frameworks. But you don't have to use it, you can develop the code by yourself using just the idea. This is not too difficult but the real volume of work will strongly depend on your requirements.