They have. That spike protein is part of their envelope ("nanoparticle").
The envelopes used in an RNA vaccine are generally simpler, because they're working under different constraints than viruses. For example, their envelopes don't need to be easily manufactured in a cell.
But some RNA and DNA vaccines do use viruses as their delivery mechanisms, eg the J&J COVID vaccine.