Yes. You can avoid the 404 error by redirecting any deleted page URLs to a new one.