are the sentences acceptable?

Hi, are these sentences grammatically acceptable?

The words have the same pronunciation, but they have different meanings.
The words are pronounced in the same way, but they have different meanings.
The words sound the same, but they have different meanings.

Yes, in my view.
The words are pronounced (in) the same way, but they have different meanings.

Thanks, Anglophile!

Thanks!