Yes it is possible to get a 6IV poke when breeding those two (Its actually possible even if only one of the pokes has 1IV ,but very, VERY unlikely). an egg will inherit three IVs total from each parent (they can overide each other so its possible you only get 2-1 IV) and all the rest are random. This can be influenced by items such as the destiny knot or power items. destiny knot keeps 5IVs from the holder the same and power items keep a specific IV the same. I would suggest to get a 6IV from those to put a destiney knot on one and a power item that keeps a perfect IV the same until you get a 5IV poke and replace that as the destiney knot holder (power items overide the destiney knot so its better to put it on an IV the other poke doesn't have perfect). I hope this is what you needed.