Like fossil fuels come from organic matter that grew because of the sun. Is there any form of energy on that cannot be traced back to the sun in some way?
Well, seeing as how the question is directly asking "is there any energy you can't eventually trace back to the sun", you shouldn't ever stop going back unless you can reach a definitively non sun answer
(Gravity arguably works - probably the nuclear attraction force as well, electromagnetic I believe)