Hi,
Linseed/flaxseed is highly absorbent, and will suck moisture out of any baking mix.
So you may find that it works, once you get the liquid quantities right. Probably take a few test mixes!
Beyond that, I'm afraid I can't make any suggestions.
Are you OK with coconut flour? People who have problems with tree nuts can often get away with coconut, I understand. But having said that, I find coconut flour a very, um, all pervasive presence in cooking, and try to use it sparingingly.