Yes, both the tube and the cap are recyclable, depending on how robust your community recycling program is.
The tube is made from made from LDPE (low density polyethylene), so it’s a #7 plastic for recycling purposes. The cap is PP polypropylene, which most facilities consider a #5 recyclable plastic.