You can make it happen a bit, although not straight sideways.
over to port, port engine
in forward. If the boat
has large rudders, that tends to push stern to starboard. Now reverse as needed with the starboard engine to keep it straight. That pulls the BOW to port, and the boat
crabs forward and to port. It's a dynamic arrangement, and takes practice. It works well on some boats and not at all on others. Depends on how effective the rudders are and if they are effectively in the prop wash.
Far more effective than trying to drive the boat sideways is to back stern in to the landing spot, get a line on from the port quarter (if you want to lie port side to) to the dock
and then forward with the starboard engine to pivot on the line. You can do that with just a few feet of clearance bow and stern, and have a lot less trouble with wind