SSL termination for TCP traffic

is it possible to terminate SSL for TCP traffic (layer 4)?

Thank you

Yes. You can find some good examples in the Blogs of haproxy.com