I’ve had a Trek Fuel Ex carbon, carbon 456, Titus FTMc and now a Lapierre Zesty carbon. Didn’t treat them any differently to an alloy bike.
They wouldn’t make carbon trail bikes if they were any more succeptable to failure than alloy ones. A flying rock that would trash a carbon frame would likely trash (dent) an alloy frame. Imagine the reputation of Trek, Specialized, Lapierre, Norco, Scott, Giant etc etc if their carbon trail bikes were self combusting at the sight of a rock.
They’re not very good when it comes to abrasion/scrapes but nothing that a bit of heli tape in the higher risk areas won’t prevent.
Go for it!