Its not possible to establish an OTR session with an offline contact. So no, this solution doesn't work.