Not on encrypted packets, no. If the router is terminating the connection, however, you can inspect the packets before encryption or after decryption. That happens when the traffic comes out of a tunnel interface or goes into a tunnel interface. Refer to the packet flow diagram to see what facilities are available.
http://wiki.mikrotik.com/wiki/Manual:Packet_Flow