I'm not sure what you had in mind for wanting to access the schema directly, but it is possible.
You will be working with a local copy of the schema and so any changes you make will not be affecting your form... but this is a good thing as changing your schema live would likely have disasterous results.
Here's the code to get access to you schema file. One you have it loaded you can access it just as you would any other DOM.
oMySchema = new ActiveXObject("msxml2.DOMDocument.3.0");
oMySchema.async = false;
oMySchema.load("mySchema.xsd");
Hope that helps! Let me know how it goes. Again, I'd love to hear what you had in mind for this...
Greg Collins [InfoPath MVP]