It's possible. Some laptops can handle it without problems. Usually it's large and heavy gaming laptops.
Personally, I have laptop that worked on heavy CPU tasks at 100% 24/7 (not mining) for over 7 years now. You just need to test the temperatures, many laptops have good CPUs, but only to handle spikes of heavy load, not for 24/7, and became very hot after ~20 mins of mining. Additional cooling is required in any case.
But there's another problem. Laptop or usual desktop CPUs aren't energy efficient in mining and there's a high chance that even a laptop will consume more electricity than proffit from mining. I'd say CPU miing is for such profesional CPUs as Xeon or Rysen. Or you can mine not popular shitcoins which are not proffitable now, but there's a chance that rheir price rise in future...