No, a factory reset will reinstall the version of macOS that came with your MacBook Pro. If you want to revert to a previous macOS version, you will need to perform a clean installation using the installation media or a bootable USB drive with the desired macOS version.