Assuming ideal nature of gases in accordance to kinetic theory of gases,
The expression of equipartition of energy which assigns $\frac{k_BT}{2}$ energy ($k_B$= boltzmann constant and $T$ = absolute temperature) to each degree of freedom ($f$) and gives total kinetic energy of a molecule as $\frac{fk_BT}{2}$
Can we equate this to general expression of kinetic energy ?
$\frac{fk_BT}{2} = \frac{mv^2}{2}$
which gives $v= \sqrt\frac{fkT}{m}$ where $m$ = mass of molecule.
If it's true then what kind of velocity is it? And can we substitute this velocity in expression of de broglie wavelength?
$\lambda= \frac{h}{mv}$ ($h$ = Planck's constant)
But if it's true, then it will contradict the expression which comes by taking root mean square velocity
$v = \sqrt\frac{3RT}{m}$ (R = universal gas constant)
and gives $\lambda= \frac{h}{\sqrt{3mkT}}$ for all molecules independent of their degree of freedom.