It can, no problem.
You have to be careful with the Freesync range. Samsung (rightly) received harsh criticism because the monitor only supports an effective Freesync range of 80-100Hz and flickering occurs when using the "UltimateFreesyncRange" (40-100Hz).
Extremely unfortunate, as the monitor itself would be great. If you don't need FreeSync, it's still worth considering.