You can absolutely have a natural gas or propane fire pit under a covered patio if the overhead height of the ceiling meets CSA requirements for distance from appliance. This is usually 80 inches. Check your appliance manual for required distances.