Sort of. Instead of removing them from the desktop, you can use a script to put everything into a hidden folder. Something like the following should work:
ls ~/Desktop > ~/Desktop/.hidden
If you're not sure how to use scripts and bash commands in Linux, check out our previous tutorial which walks you through the most important commands you need to know.