Can I upgrade from DDR4 to DDR5 by just changing the BIOS settings?
No. DDR5 requires a physically different motherboard and a compatible CPU. You cannot swap DDR4 for DDR5 on the same board, and no consumer motherboard supports both. Upgrading means a full rebuild.