Here are the three standard methods to achieve what you are looking for.
No, not directly.
If your computer is stuck in a boot loop, frequently crashing, or if you are preparing to sell your system, several reliable workarounds allow you to wipe your drive before the operating system (OS) loads. Method 1: Use Modern UEFI BIOS "Secure Erase"
The BIOS does not have the software code required to understand file systems (like NTFS, FAT32, or exFAT). It sees the hard drive as a block of raw storage, not as a filing cabinet with folders and files. To format a drive, you need an Operating System (OS) that can write a new file system structure onto that raw block. Since the BIOS precedes the OS, it lacks the tools to do the job.