B747-400 or B777-200
The easy answer is YES, the FMS would allow you to takeoff from any runway. It presumes that you have gotten the field length limit weight from another source!
Anyone care to tell me where there is a page for you to enter the runway length in the FMC?
Mutt