You should be able to play it but since it's an older title and not originally designed for Windows 10 it's more likely you could run into technical issues. Try right-clicking on the desktop icon and run it in compatibility mode under an older OS which should help.
a month ago
To add on the statement above, you won't be able to get online but you'll be able to access the offline system.
a week ago
Battlefield 2142 is still up in 2019. Visit Battlefield2142.co for all the information to play.
You get all unlocks to start, custom maps, multiplayer COOP, full BFHQ stats. We get 30-50 during peak times on weekends.