Absolutely. Reagan had much more to work against than Trump, e.g.
One could criticize Reagan for not being able to win the Representatives, but at least he had the Senate most of the time to work with. Then he lost the Senate, another negative.
The congress is more local and after a quarter century of one-party rule it took a longer time to unclinch than Reagan’s 2 terms, but Gingrich got it done by 1994.
With 4 Senate elections, Reagan lost the last one, before Reagan the Dems had the House and Senate continuously since the early 1950s.