Export GameObject to unity3d in runtime

BuildPipeline.BuildAssetBundle method works fine in UnityEditor, it exports Prefab in .unity3d format. Is there any way to export GameObject in WebPlayer at runtime?

No.

Build pipeline is part of the editor environment and only available there.