Yes, you can romance Liara in Mass Effect 3 even if you romanced someone else in Mass Effect 2, especially since you romanced her back in the first game.
Liara is effectively the default romance option if you choose to ignore the other female characters. So if you want to rekindle that relationship, you have a clear path to do so in ME3.