Absolutely. I'm sure that most of the timber structures in the world are just sitting on stone. If the code is a concern, you may have to devise a way to tie the frame to the stone. Unless there are crazy lateral loads (wind or seismic), I think it'd be fine without any connection though.