Is it possible to use servo motor act as encoder?

Hello Everyone,

Currently, I am making optimal path planner robot. I have used DC motors with L298 H-bridge due to these constraints I cannot measure that how much steps robot moved forward. I have servo motors So I need to know Is it possible to connect servo motors with Dc motors to check the steps of robot? This is the first time I am using Arduino forum if there is a mistake please ignore it.

Thanks

No. Use encoders.