If I wanted to say "My opinion is different from yours" would I say 僕の意見はあなたのと違います?
is simply a perfect sentence in every way.
「あなたの」 here means "yours".
"My opinion is different from yours."
Informally, some native speakers would tend to drop the second 「の」, though.