Yes, but sometimes bad things happen and you may need to edit some files to get it working again.
Discussion
If it’s an umbrel, this helps. Different sometimes depending on OS. Not a fun time.
https://community.umbrel.com/t/bitcoin-node-stuck-after-power-outage/10378
Been through it twice on different OS.