I doubt that anybody can give you 100% assurance of what the position of Dogecoin or XRP will be in the near future, all you will get is speculations. You should understand that investing in altcoins are risky, including the two that you're looking at, so DYOR and gamble the amount that you can afford to loose, especially on memecoins. There are too many scam projects in the crypto market and even the top altcoins like Ethereum, BNB and Solana that have proven their reputations have no guarantee of continuously hitting new ATH in the long run. It's only Bitcoin that has that capacity to continuously reaching new ATH price, so it's the only cryptocurrency that I can fully endorse.
I agree, as things are going, we need to be had own search before jumping into this world because this is unpredictable and having high violate and no one can give us perfect prediction, so things can go either way mean you can lose your money in seconds, and you can also take good profit as well, but this all depends on luck and things around you.
We all know mostly altcoins are having not solid base, so the best thing is if someone wants to invest do in bitcoin which is the best option for all because this is the best coin for all time, and we are having many chances of recovery as well which help us the coins and tokens are mentioned all are having high prices which are also possible to have huge decline so always invest carefully.