Is it possible to use REST API with Unity?
It depends what you mean "use"
Any http client can use the REST API, just make a http request to the API - but you will have to handle everything yourself (auth, parse response etc).
If you are asking about native support then you would need to use the SDK - https://developers.arcgis.com/unity/