Yes, that is possible. Take a look at Customizing SITL Multicopter Simulations: Tailoring Realism to Your Drone