This is already possible by adjusting the available hotbars and UI items and either hiding or making them visible within the macro using the /hud command

I made a set of macros that load each class and activate the hud elements I want for each.

Some parts are shared but it gives you the ability to clean up your interface.