Nope, can't assure you that you will be fine. You are rolling the dice on how the airline feels that day. It's got nothing to do with it being an international or domestic flight.
What you're doing is called *skiplagging*, and airlines hate it, most actually consider it fraud (though a few may not care). But if they catch you doing it (and having provided your FF number, they easily can), they may (or may not) take action to make an example of you. Actions range from finger-wagging and saying tut-tut, to confiscating all your FF miles and permanently banning you from their programs going forward - and even taking you to court to recover "damages." Both have happened and been well-documented (there have been court cases fought over it, IIRC American Airlines won a notorious skiplagging case in the news a few years back).
I think it's pretty clear and understood by many that the practice violates the contract you have with an airline when you buy the ticket (yeah, technically an airline ticket is a legally-binding contract).
In any case, don't even think about checking luggage. And woe to those who are forced to gate-check their carry-on bags unexpectedly at the last moment (because the overhead bins are nearly full) - those bags are going to Dublin, even if the passenger sneaks through to Rome.
That said, people do it, some probably do it often, and some (maybe most?) people get away with it, at least for a while. I'm sure some people do it a many times before getting caught, so if it's your first time, the risks are relatively low (the risks go way up if anything goes wrong with one of your flights - cancellations, delays, schedule changes, all of which are common these days). Some people do get whacked, and there is definitely some risk involved. How much is really at stake for you? If you have a lot of FF miles with the airline (or if you just don't want to lose however many miles you have) and don't want to risk being banned from that airline's program in the future, think long and hard about how much money you are saving by doing it.
You'll get plenty of opinions about whether this is a harmless and clever "hack", just a victimless way to save a few bucks, a way to "stick it to the man", or is cheating/dishonest/ethically wrong. Me, I'd never dream of doing this (the amount you save is just not worth the consequences of getting caught, at least to me). YMMV.