Yes, updating PHP is generally a good idea, but it's better not to rush into it.
Sometimes an older theme or plugin doesn't support a newer PHP version, which can cause errors or even make parts of your website stop working.
Before changing anything, I'd recommend taking a complete backup of your website.
Then check whether your WordPress version, theme and plugins support the PHP version you want to use. If possible, test it on a staging website first.
After updating, visit your homepage, admin dashboard, contact forms and other important pages to make sure everything works normally.
If something breaks, you can temporarily switch back to the previous supported PHP version while investigating the issue.
It's always better to spend a few minutes testing than to risk breaking a live website.