Hello,

Yes you can but you need to edit the PHP file itself.

Go to Appearance > Editor and select the 404.php file.