I think it is hard to do. I have tired a few times but a regular Mac or windows interface works better. I do think you can replace it for 90% of tasks...
I think the most cost effective thing to do is buy a
1) MacBook Air plus cheap iPad. (had this set up for almost two years, iPad as second screen with continuity is clutch. I don't even use a monitor anymore)
2) Premium iPad Pro plus cheap windows laptop (<$300). The windows laptop can do a tedious task that comes up that the the iPad does not accomplish well... I know cheap windows laptop is sacrilege speak for this forum but its a cost effective solution