can 1/2m and 8am be like terms

No, 1/2m and 8am cannot be like terms.

Like terms are terms that have the same variable(s) raised to the same exponent(s). In this case, 1/2m and 8am have different variables - m and am - so they cannot be combined.