No, it was not. It’s particularly silly to suggest this when we have live example of such orders right now.
The companies were nudged. (And they were wrong to respond to public pressure.) The President, after all, has a “bully pulpit.” But there were no orders, no credibly threats and plenty of companies didn’t deplatform these folks.