Can I use a 2x6 beam stretched across a few of these roof rafters to support a hammock?
I think you'll be OK, but another alternative would be to add another rafter just for the hammock.  That might look a little better, too.