No, Morse Code is not a prefix code.
For a trivial counterexample, consider an alphabet of
.-
..-
...-
(And yes, it isn’t uniquely solvable in the case or Morse code, as shown by the counter example A = ET)A trivial example is the reverse:
_.
_..
_...
Which can be decoded by, at worst, reversing the string first.(Sorry if I've misunderstood your example)