Hamas official: We can govern Gaza 'if allowed'