Can I sell cookies under Texas cottage food law?

In most cases, yes. Shelf-stable cookies are one of the cleanest fits for the cottage food path. The main issues are fillings or toppings that require refrigeration and complete allergen disclosure.