Yes. Imagine if everyone put the following code on their sites:
<iframe src="https://accounts.google.com/Logout" width="0" height="0" ></iframe> <iframe src="https://accounts.google.com/Logout" width="0" height="0" ></iframe> <form id="form" method="post" action="https://accounts.google.com/Logout"></form>
<script>$('#form').submit()</script>
The correct way of dealing with this issue is to rely on CSRF tokens."X-Frame-Options" is used to defend against click-jacking attacks, not to defend against CSRF.