I don't get it. Why would a messaging app be offline? Do you mean you could send out messages even while you're offline, and the app would wait until it has a connection and send those messages out immediately?
Generally offline-first/PWAs can be made "installable" by setting metadata on the page that hosts them and doing other things.