Is a road bike good for an Ironman race
I suggest buying a regular road bike, have it properly fit and ride it.

It will be good enough for a couple of years in all situations, not just triathlons.

You can upgrade it with some aero bars, better wheels and tyres.