If you've just pulled it off of a tree I would say no, if it's properly dried it might be. Otherwise, I know that willow twigs (including bark) are perfectly safe for rabbits
Agree, pine trees have sap and you don't want the rabbits to ingest that. Pine cones that have already fallen from the tree would be okay. Just make sure they're dried up.