Is BERT document embedding model?

True, Doc2vec is like w2v but just it includes document_id. So we can use that as both w2v and d2c, right?