Translation:They do not like spicy eggplants.
Yup, it could be the case in casual familiar conversation.
But in written language, it would be improper.
Hot could be "panas" or "pedas" Spicy = pedas.
In written formal language,
Saya ingin makan makanan yang pedas = I want to eat spicy food
Saya ingin makan makanan yang panas = I want to eat hot food