can m and 8m be like terms

Yes, "m" and "8m" can be considered like terms because they have the same variable and exponent, which is "m" raised to the power of 1.