Web wallet making direct RPC calls to bitcoin node
If you want to do it from front-end (web browser) it's not a good idea because you will expose an access to your bitcoin node so anyone able do anything with you bitcoin node, if you want to do it on the server so it is normal practice.

Just don't expose your RPC node access, allow connections only from localhost.