Is it possible to rewrite in a UE4 vehicle, custom equations of motion?

Hi all,
I am relatively a new user of UE, and I was wondering, if it was possible to implement a custom physics to the vehicle and then later import it into carla, making sure that the vehicle dynamics equations that carla uses are the ones implemented by me and not the basic physics engine equations.
To explain further, I would like to try to replace the equations that govern the tire-road contact of a vehicle and use the vehicle with my custom tire model in Carla, I don’t know if it is possible to do such a thing but I kindly ask if you can direct me or help me understand this. I thank all the people who will spare 10 minutes to help me solve this doubt.

You would probably need to override ApplyWheelFrictionForces in

ChaosWheeledVehicleMovementComponent inside of your Unreal Engine Install folder\Engine\Plugins\Experimental\ChaosVehiclesPlugin\Source\ChaosVehicles\

header

	/** calculate and apply lateral and longitudinal friction forces from wheels */
	virtual void ApplyWheelFrictionForces(float DeltaTime);

cpp

void UChaosWheeledVehicleSimulation::ApplyWheelFrictionForces(float DeltaTime)
{
// do calcualtions
}