as long as you get out on time sure, no debate there but they very often deflate like a balloon pretty quick and never recover. Microsoft took near ten years from memory to recover
I don't mean just a few indicators to value a company but long term it's vital to look at company financials.
Incorrect to assume AMD is just another bubble stock. They have the best product on the market currently and their lineup is strong.