Compared to baro, GPS altitude is much less accurate in the short time frame, but more accurate in the long time frame, so we have not tested GPS flight without baro. There are EKF settings in GCS -> System -> EKFConfiguration that could be adjusted to stop using baro, but you need to know how to tune an EKF. A programmer with a math degree might do it. Another way would be to get source code, and make baro sensor code always return 0 altitude, but even that might need EKF tuning.