Segments and Campaigns are "just" content, so yes, you can get the resources and inspect them.
Using them, however, outside of AEM is complicated because they are generally going to be dependent upon AEM-specific JavaScript. For example, you can fetch http://localhost:4502/etc/segmentation/geometrixx-outdoors.segment.js via HTTP, but that is just making a bunch of JavaScript calls which wouldn't be available in a different context.