Of course you should train for the sort of race you expect to enter. I don't know anyone who thinks you can train for hilly road races without doing long, hard, hilly rides.
However, you are mistaken if you think that intervals won't help your performance on longer rides. The impact on FTp, and on your ability to recover at speed and go again, should be significant in all sorts of races.