If you're using a standard rectangular filter, the answer is no - you can only insert it into your camera sideways if your camera has a built-in filter slot. However, there are square filters that can be inserted into special holders that allow you to rotate the filter as needed. This gives you much more flexibility in terms of composition and framing.