@aral You could setup a matrix home-server and bridge signal over to matrix. Before using a pinephone to access the home-server.
Its a bit of a painful setup for a messaging solution but it should work on a pinephone.