Can aircraft ferry engines for other types of aircraft?
Yes.
The Antonov 124 regularly ferries even the largest engine, the GE9X, internally. Нема проблем!

GE9X being loaded into the An-124 (picture source)