Real estate agent fees are only applicable on x% of the value of the house you sell.
Higher property taxes do stink but are not applicable after you sell the house.
I'm not sure why you can't afford to move. Have you talked to a tax specialist or a financial advisor? If you bought a house at X and sold it at 2x, even if you haven't paid any of the principal of your mortgage(if you have one), you would likely pay a maximum of ~25% of X between capital gains (if you own multiple homes) and real estate agent fees. So you still made 75% of X from appreciation. I don't really understand what you think your problem is.