Yes, internal traffic is included in the Raw Data Exports, there are columns for the recorded IP address, as well as the exclude_hit column which indicates that this isn't part of your normal reporting.
Here is documentation about the Columns available in the Raw Data Report
https://experienceleague.adobe.com/docs/analytics/export/analytics-data-feed/data-feed-contents/data...
All other export methods (API, Data Warehouse, Report Builder, etc) don't include rows marked as "exclude_hit"... as those sources are all based off the fully processed Data. (Unless there is a Raw Data API that I'm unaware of.. it might be coming or already here, as this will be needed to build out the new "Bot Reports" in Workspace before Reports is sunset in Dec)