If I buy an iPhone 7 unlocked, can I still use it without buying a SIM card?

I know I wouldn't have a plan (so no data [talking, texting, browsing]), but could I still use it as Phone when I had WiFi?

Follow this Question