Yep! There are instructions here: https://docs.unrealengine.com/en-US/Programming/Development/BuildingUnrealEngine...
check the preq page linked at the top (downloading unreal engine from source) - only difference will be the repo to get.
Also recommend using VS2019