Yes - it is possible. You need to implement a SAML stack on your side.
Refer SAML : SAML connectivity / toolkit and the two links at the top of that post.
There are some open-source and some commercial stacks. The commercial ones have a lot of sample code and support.