Can a system be heated and its temperature remains constant?

Hint: Use the first law of thermodynamics.
Yes, this is possible when the entire heat supplied to the system is utilised in expansion. i.e. it is working against the surroundings.