Texts will depend on your phone. My husband and I have Galaxy Notes (he has a 9 and I have a 20 ultra) and can send and receive texts and calls through wifi. Just make sure you are always in airplane mode, then enable wifi.
If you're like my family and use Facebook messenger for group chatting, that will also work for wifi messaging.