Yes, if you are using the Unity In-App Purchasing package and are using Unity Analytics, the IAP Package will automatically record transaction events that will populate your Analytics revenue reporting.
If you are not using the IAP Package you can record your own transaction Anaytics events with the Unity Analytics SDK, or send them to the REST API.
For more information on recoding transaction events, see documentation on Unity Analytics (beta).