Not true. Some states have internal possession laws, which means it is illegal to have consumed a controlled substance.
Making possession illegal is a measure to reduce consumption and harm producers. It introduces "victimless crime" that does not harm others per se.