I thought the entire backyard was already brick/pavers? I doubt there are many termites hanging out on top of those waiting for some wood to get a little damp. If it was pressure treated, it should be fine to use those beams as a sort of footer on the pavers "foundation".