Well, sort of. Obama was president when the list was created, but it was forced through by a Republican-majority Congress.
What happened was Obama signed the bill imposing exceptions to the Visa Waiver Program in December 2015, and then his own DHS added the current list of middle eastern nations in February 2016.
It is the most tenuous argument to act like that was the work of the GOP.