Absolutely. It's very common. And a great compromise to having two bikes.Anyone get a gravel bike and have two sets of wheels, one for road and one for gravel?
Also be aware, many road bikes nowadays fit quite wide tires. If your 'gravel' is just hard pack rail trail type stuff you can easily use a road bike. Or an endurance bike.
The new Canyon Ultimate will fit up 32 mm tires