Well, technically probably yes, but you will be locked out of Windows Update, making this a very dangerous endeavor.
As per Windows 7 requirements:
Up through the following AMD 6th Generation Processors (A-Series Ax-8xxx & E-Series Ex-8xxx & FX-870K)
Ryzen is only supported starting from Windows 10 1703.
Microsoft has decided to block access to Windows Update on “unsupported” CPUs:
This error occurs because new processor generations require the latest Windows version for support. For example, Windows 10 is the only Windows version that is supported on the following processor generations:
- Intel seventh (7th)-generation processors
- AMD “Bristol Ridge”
- Qualcomm “8996"
Because of how this support policy is implemented, devices that run the following Windows versions and that have a seventh generation or later generation processor may no longer be able to scan or download updates through Windows Update or Microsoft Update:
- Windows Server 2012 R2
- Windows 8.1
- Windows Server 2008 R2
- Windows 7