No, perhaps they can afford a 12 year $430MM contract from a funding point of view. But from a realistic viewpoint being married to a mega-contract for 12 years, consuming about 20% of your salary cap is not a way to have a consistently competitive team. Has Mookie Betts so impressed you that he is deserving of the #1 contract of all time ? This isn't the NBA where 2 or 3 players can keep a team at the top (GSW) for multi-years. Betts , Harper, Trout hit 5 times a game, 150 times a year if not injured. They fail to move the runner, if any, 65% of the time. Trout will now play for the rest of his games on the same team that has reached the playoffs once in his HoF career , and may never again.
One or even three players does not make a baseball team. The 2018 Yankees should have cleaned up in the AL East with Judge, Stanton, Severino, etc, but they failed to notice the 108 game winners from Boston who had Vazquez, Leon, Swihart catching and Nunez/Holt playing second base, 2 of the 4 key positions on a team