Geofencing mode combined with hourly mode

I would like to use geofencing mode but when we’re at home we would like to manage modes based on hours (in house + night mode). Is this possible?