In the cinematic universe no. ... Technically, They are both from Marvel Comics, but the movies are under different companies. The X-men are made by 20th Century Fox, and The Avengers are Under Mavel Studios which is why we haven't seen them in a movie together yet. But they are still both created by Marvel Comics.