Yes, but you need the correct version to able to use it.
Only office versions that have the Office ProPlus features can be used on a remote desktop or terminal services server.
At present these packages are
Office 365 ProPlus
Office 365 E3
Office 365 E5