if it is sap, chances are it is also softwood. if this is the case...
NO.
You should only use hardwoods (oak, maple, ash, elm or hickory) for your aquarium. The sap and pitch in the softwoods can create a syrupy mess in your tank. Softwoods decay a LOT easier than hardwoods as well...