Probably... but not certain.. The following should be considered. 1. 4000 liters of oil in a 4-person household indicate a heating load of 14kW. That is about 64W/m² and almost double what a house achieves today according to the Energy Saving Ordinance. Whether it is actually 14kW, I tend to doubt. Presumably, the oil heater has been operated very inefficiently until now.
2. For the efficient operation of a heat pump, the required flow temperatures are decisive. With underfloor heating, you have relatively good conditions. There are heat pump users who operate a heat pump extremely efficiently even with radiators. With underfloor heating that achieves flow temperatures below 40°C, this should also be easily possible. However, you then have to deal with the technology. That means no ERR, no buffer, hydraulic balancing, and optimal heating curve. If with the current underfloor heating a flow temperature <40°C is not achievable, one should consider improving the insulation standard. This has two effects:
[*]Lowering the flow temperatures (thus suitable for heat pumps)
[*]Reducing the heat demand.
3. If then, due to possible flow temperatures, a geothermal heat pump is an option, it would be advisable to inform yourself about the concept of the trench collector. In new buildings, this can be created unbeatable cheaply. After deduction of subsidies, even better than an air heat pump. In existing buildings, it's somewhat more difficult but definitely possible. Getting information certainly doesn't hurt.
4. Gas has the advantage that you do not really have to worry about the points mentioned earlier. On the other hand, one should ask whether there is not a certain risk that fossil fuels will be significantly more burdened in the near future, e.g., in the form of a CO2 tax.
Regards, Nika