Yeah, Obama did far worse.
He didn't like US immigration law, Congress was in gridlock, so he wrote his own immigration laws.
He decided that some illegal aliens were no longer illegal according to his new "DACA" executive order.
This empowers Trump and future presidents to make laws they like. For example, Trump just made up a new law requiring illegal aliens to go to "ports of entry" to seek asylum, despite existing laws saying they don't have to do that.
_________________
After a failure, the easiest thing to do is to blame someone else.